#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
#include <stdbool.h>
#include <assert.h>
#include <stdlib.h>

typedef struct 
{
	int* data;
	int* head;
	int* rear;
	int capality;
}MyCircularQueue;


MyCircularQueue* myCircularQueueCreate(int k);

bool myCircularQueueEnQueue(MyCircularQueue* obj, int value); 

bool myCircularQueueDeQueue(MyCircularQueue* obj); 

int myCircularQueueFront(MyCircularQueue* obj); 

int myCircularQueueRear(MyCircularQueue* obj); 

bool myCircularQueueIsEmpty(MyCircularQueue* obj); 

bool myCircularQueueIsFull(MyCircularQueue* obj); 

void myCircularQueueFree(MyCircularQueue* obj);

void Print(MyCircularQueue* obj);
